package com.baway.biliclitent.util;

/**
 * 1.类的用途：
 * 2.渠刚
 * 3.@date
 * 4.用途: 装有网址的工具类  公共头 以及对应的字段
 */
public class UrlUtils {
    /**
     * 直播
     */
    //直播头
    public static final String HOME_DIRECT_HEAD = "http://live.bilibili.com/";
    //首页直播
    public static final String HOME_DIRECT = "AppIndex/home?_device=android&_hwid=51e96f5f2f54d5f9&_ulv=10000&access_key=563d6046f06289cbdcb472601ce5a761&appkey=c1b107428d337928&build=410000&platform=android&scale=xxhdpi&sign=fbdcfe141853f7e2c84c4d401f6a8758";
    //直播URL  //需要传递cid参数
    public static final String DIRECT_URL = "api/playurl?player=1&quality=0&cid=";



    /**
     * 推荐
     */
    //推荐头
    public static final String RECOMMEND_HEAD = "http://app.bilibili.com/";
    //首页推荐数据
    public static final String RECOMMEND_DATA = "x/show/old?platform=android&device=&build=412001";
    //首页推荐Banner
    public static final String RECOMMEND_BANNER = "x/banner?plat=4&build=411007&channel=bilih5";


    /**
     * 番剧
     */
    //首页番剧头
    public static final String DRAMA_HEAD = "http://bangumi.bilibili.com/";
    //首页番剧banner及下方数据
    public static final String DRAMA_DATA = "api/app_index_page_v4?build=3940&device=phone&mobi_app=iphone&platform=ios";
    //番剧推荐
    public static final String DRAMA_RECOMMEND = "api/bangumi_recommend?access_key=f5bd4e793b82fba5aaf5b91fb549910a&actionKey=appkey&appkey=27eb53fc9058f8c3&build=3470&cursor=0&device=phone&mobi_app=iphone&pagesize=10&platform=ios&sign=56329a5709c401d4d7c0237f64f7943f&ts=1469613558";
    //番剧详情 番剧推荐
    public static final  String DRAMA_DETAILS_RECOMMEND = "api/season/recommend/5070.json?access_key=19946e1ef3b5cad1a756c475a67185bb&actionKey=appkey&appkey=27eb53fc9058f8c3&build=3940&device=phone&mobi_app=iphone&platform=ios&season_id=5070&sign=744e3a3f52829e4344c33908f7a0c1ef&ts=1477898527";
    //番剧详情
    public static final String DRAMA_DETAILS = "api/season_v4?access_key=19946e1ef3b5cad1a756c475a67185bb&actionKey=appkey&appkey=27eb53fc9058f8c3&build=3940&device=phone&mobi_app=iphone&platform=ios&season_id=5070&sign=3e5d4d7460961d9bab5da2341fd98dc1&ts=1477898526&type=bangumi";
    //番剧索引
    public static final String DRAMA_INDEX = "api/bangumi_index_cond?access_key=19946e1ef3b5cad1a756c475a67185bb&actionKey=appkey&appkey=27eb53fc9058f8c3&build=3940&device=phone&mobi_app=iphone&platform=ios&sign=cfc6903a13ba89e81c904b4c589e5369&ts=1477974966&type=0";
    /**
     * 分区  必须首先先解析assets目录下的json串region  取出对应的参数tid
     */
    //分区头
    public static final String PARTITION_HEAD = "http://app.bilibili.com/";
    //分区推荐  传递过来的数据  评接到最后的参数上
    public static final String PARTITION_RECOMMEND = "x/v2/region/show?access_key=67cbf6a1e9ad7d7f11bfbd918e50c837&actionKey=appkey&appkey=27eb53fc9058f8c3&build=3600&device=phone&mobi_app=iphone&plat=1&platform=ios&sign=959d7b8c09c65e7a66f7e58b1a2bdab9&ts=1472310694&rid=";
    //分区详情
    public static final String PARTITION_DETAIL = "http://app.bilibili.com/x/view?access_key=19946e1ef3b5cad1a756c475a67185bb&actionKey=appkey&appkey=27eb53fc9058f8c3&build=3940&device=phone&mobi_app=iphone&platform=ios&sign=1206255541e2648c1badb87812458046&ts=1478349831&aid=9291420";
    //分区类型详情  传递过来的数据  评接到最后的参数上
    public static final String PARTITION_TYPE="x/v2/region/show/child?build=3600&rid=";
    /**
     * 发现  以及所有满足于搜索的接口
     */
    //搜索头
    public static final String SEARCH_HEAD = "http://app.bilibili.com/";
    //番剧搜索  keyword:搜索的内容
    public static final String DRAMA_SEARCH = "x/v2/search/type?actionKey=appkey&appkey=27eb53fc9058f8c3&build=3710&device=phone&mobi_app=iphone&platform=ios&type=1&pn=1&ps=10&keyword=";
    //up主搜索  keyword:搜索的内容
    public static final String UP_SEARCH="x/v2/search/type?actionKey=appkey&appkey=27eb53fc9058f8c3&build=3710&device=phone&mobi_app=iphone&platform=ios&type=2&pn=1&ps=10&keyword=";
    //综合搜索  keyword:搜索的内容
    public static final String BASE_SEARCH="x/v2/search?actionKey=appkey&appkey=27eb53fc9058f8c3&build=3710&device=phone&duration=0&mobi_app=iphone&order=default&platform=ios&rid=0&pn=1&ps=10&keyword=";
    //影视搜索  keyword:搜索的内容
    public static final String MOVIE_SEARCH="x/v2/search/type?actionKey=appkey&appkey=27eb53fc9058f8c3&build=3710&device=phone&mobi_app=iphone&platform=ios&type=3&pn=1&ps=10&keyword=";
    //专题搜索  keyword:搜索的内容
    public static final String SPECIAL_SEARCH="x/v2/search/type?actionKey=appkey&appkey=27eb53fc9058f8c3&build=3710&device=phone&mobi_app=iphone&platform=ios&type=4&pn=1&ps=10&keyword=";
    //热搜词
    public static final String HOT_SEARCH = "http://s.search.bilibili.com/main/hotword?access_key=ec0f54fc369d8c104ee1068672975d6a&actionKey=appkey&appkey=27eb53fc9058f8c3";
   //话题中心
    public static final String HT_CENTER = "http://api.bilibili.cn/topic/getlist?device=phone&mobi_app=iphone&page=1&pagesize=137";
    //活动中心
    public static final String HD_CENTER = "http://api.bilibili.cn/event/getlist?device=phone&mobi_app=iphone&page=1&pagesize=20";
    //原创排行榜与全区排行榜
    public static final String YC_PH = "http://www.bilibili.com/index/rank/all-3-33.json";


    public static final String ZONE_DES = "http://app.bilibili.com/x/view?access_key=19946e1ef3b5cad1a756c475a67185bb&actionKey=appkey&appkey=27eb53fc9058f8c3&build=3940&device=phone&mobi_app=iphone&platform=ios&sign=1206255541e2648c1badb87812458046&ts=1478349831&aid=9291420";
}
